<%@ include file="/WEB-INF/common/taglibs.jsp"%>
<div class="row-fluid">
<div class="span12">
<div class="box gradient">
<div class="title">
<h4><span>Notify Events </span></h4>

<a href="#" class="minimize">Minimize</a></div>

<div class="content scrollable clearfix">
<table class="dynamicTable display table table-bordered">
	<thead>
		<tr>
			<th>View Name</th>
			<th>Email </th>
			<th>Log  </th>
			<th>Sms</th>
			<shiro:hasPermission name="notify-event:edit">
			<th>Action</th>
			</shiro:hasPermission>
		</tr>
	</thead>
	<tbody>
		<c:set var="allEntity" value="${requestScope.notifyEvents}" />
		<c:if test="${allEntity!=null}">
			<c:forEach var="entity" items="${allEntity}">
				<tr>
					<td>${entity.viewName}</td>

					<td><input 
					<c:if test="${entity.email}">
					checked="checked"
					</c:if>
					 class="check-box" disabled="disabled" type="checkbox" /></td>
					<td><input 
					<c:if test="${entity.log}">
					checked="checked"
					</c:if>
					 class="check-box" disabled="disabled" type="checkbox" /></td>
					<td><input 
					<c:if test="${entity.sms}">
					checked="checked"
					</c:if>
					 class="check-box" disabled="disabled" type="checkbox" /></td>				 
					 
					<shiro:hasPermission name="notify-event:edit">
					<td>
					<div class="controls center"><a
						href="${ctx }/notify-event/${entity.id}/edit/" title="Edit task"
						class="tip"><span class="icon12 icomoon-icon-pencil"></span></a></div>
					</td>
					</shiro:hasPermission>

				</tr>
			</c:forEach>
		</c:if>
	</tbody>
</table>
</div>
</div>
</div>
 
</div>